#include "kernel/syspub.h"

int main()
{
    long date1 = 20150228;
    long date2 = 0;

    CalEndDate( date1, -1, &date2);
    printf("[%ld]\n", date2);
    date2 = 0;
    CalEndDate( date1, 1, &date2);
    printf("[%ld]\n", date2);

    return 0;
}
